package karileet.meeting.profile.list.item;

/**
 * Class for one row element. Toggleable
 *
 * @author markus
 */
public class ScheduleListItem implements IMainListItem {

    private String time;
    private String description;
    private String title;
    private int type;
    private boolean selected;

    public ScheduleListItem(String title, String description, String time, boolean selected, int type) {
        this.title = title;
        this.time = time;
        this.description = description;
        this.selected = selected;
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public String getTime() {
        return time;
    }

    public boolean isSelected() {
        return selected;
    }

    public String getDescription() {
        return description;
    }

    public void toggle() {
        this.selected = !this.selected;
    }

    public int getType() {
        return this.type;
    }
}
